//
//  AccountViewController.h
//  Kokozu
//
//  Created by Bismarrck on 11-7-12.
//  Copyright 2011年 Tsinghua University. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AccountTableViewCell.h"
#import "SignUpViewController.h"


@interface AccountViewController : UIViewController 
    <UIActionSheetDelegate, SignUpOptionDelegate, UITableViewDelegate, UITableViewDataSource>
{
    // Account purchase info
    NSArray *unUsedCoupons;
    NSDictionary *unPaidCoupon;
    
    // Private account infomation
    NSString *userName_;
    NSString *passWord_;
    NSString *myCity_;      // 所在城市
    NSString *myRegion_;    // 行政区
    NSString *myDistrict_;  // 子商圈
    
    // Custom table view
    UITableView *accountView;
    UINib *cellNib;
    AccountTableViewCell *tmpCell;
    
    // non-Account View
    UIView *noAccountView_;
    UIButton *signUpButton_;
    UIButton *registerButton_;
    UIButton *telButton_;
}

@property (nonatomic, retain) NSArray *unUsedCoupons;
@property (nonatomic, retain) NSDictionary *unPaidCoupon;
@property (nonatomic, retain) UINib *cellNib;
@property (nonatomic, retain) IBOutlet AccountTableViewCell *tmpCell;
@property (nonatomic, retain) IBOutlet UITableView *accountView;

@end
